package com.pf.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2022/7/1 23:11
 */
@Data
@TableName(value = "file_table")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class FileEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 文件id
     */
    private String fileId;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 文件大小
     */
    private Long fileSize;

    /**
     * 文件下载地址
     */
    private String fileDownloadUrl;
}
